﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="empresa_centro_custo_formulario.aspx.cs" Inherits="softsales.pagina.empresa_centro_custo.empresa_centro_custo_formulario" %>
<%@ MasterType VirtualPath="~/Site.Master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Cabecalho" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ConteudoPrincipal" runat="server">
		
			<div class="inner-page-title">
				<h2><asp:Label ID="LBL_TITULO_PAGINA" runat="server" Text="tb_empresa_centro_custo"></asp:Label></h2>
					
				</div>	
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
    
    
    
		<div class="content-box">
		<div class="softsales-form">
		 
		<div class="softsales-form-linha">		
		    <div class="grid_12">
		<!-- CAMPO INTEIRO -->
				<label for="Label_ID_EMPRESA">ID_EMPRESA</label>
				<div class="softsales-form-campo"><asp:DropDownList CssClass="campo-select requerido full" ID="DDL_ID_EMPRESA" runat="server"></asp:DropDownList>	</div>
			 	<div class="softsales-form-error"><asp:RequiredFieldValidator ID="RFV_ID_EMPRESA" ControlToValidate="DDL_ID_EMPRESA" runat="server" ErrorMessage="Campo Requerido"></asp:RequiredFieldValidator></div>
                <div class="clear"></div>
		</div>
		</div>
            <asp:UpdatePanel ID="UpdatePanel2" runat="server">

            <ContentTemplate>
            
        <div class="softsales-form-linha">
            <div class="grid_5">
            <label>Centro Custo Disponível</label><br />
            <asp:ListBox ID="LST_CENTRO_CUSTO_DISPONIVEL" CssClass="full" SelectionMode="Multiple" runat="server"></asp:ListBox></div>
            <div class="grid_2"> <div class="float-left">
                <asp:ImageButton ID="IMG_BTN_ADICIONAR" runat="server" 
                    ImageUrl="~/images/botoes/Bullet-Add.png" 
                    onclick="IMG_BTN_ADICIONAR_Click" CausesValidation="false" /></div> <div class="float-right">
                    <asp:ImageButton ID="IMG_BTN_REMOVER" runat="server"  CausesValidation="false"
                        ImageUrl="~/images/botoes/Bullet-Delete.png" 
                        onclick="IMG_BTN_REMOVER_Click" /></div>  </div>
            <div class="grid_5">
            <label>Centro Custo Selecionado</label><br />
            <asp:ListBox ID="LST_CENTRO_CUSTO_SELECIONADO" CssClass="full" SelectionMode="Multiple" runat="server"></asp:ListBox></div>
            
        
            <div class="clear"></div>
        </div>
        </ContentTemplate>
                <Triggers>
                    <asp:AsyncPostBackTrigger ControlID="IMG_BTN_ADICIONAR" EventName="Click" />
                    <asp:AsyncPostBackTrigger ControlID="IMG_BTN_REMOVER" EventName="Click" />
                </Triggers>
            </asp:UpdatePanel>

		<div class="softsales-form-linha">
		<asp:Button CssClass="botao-salvar" ID="BTN_SALVAR" runat="server" Text="Salvar" 
                onclick="BTN_SALVAR_Click" />
		<asp:Button CssClass="botao-cancelar" ID="BTN_CANCELAR"  CausesValidation="False" 
                runat="server" Text="Cancelar" onclick="BTN_CANCELAR_Click" />
		<asp:HiddenField ID="HF_ID" runat="server" />
		</div>
		</div>
		</div>

        </ContentTemplate>
        <Triggers>
            <asp:AsyncPostBackTrigger ControlID="IMG_BTN_ADICIONAR" EventName="Click" />
            <asp:AsyncPostBackTrigger ControlID="IMG_BTN_REMOVER" EventName="Click" />
            <asp:PostBackTrigger ControlID="BTN_SALVAR" />
        </Triggers>
    </asp:UpdatePanel>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ConteudoEsquerda" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ConteudoDireita" runat="server">
</asp:Content>
